/*
 * @Description: 你的代码我的心
 * @Author: GGB
 * @Date: 2021-12-27 09:57:24
 * @LastEditors: GGB
 * @LastEditTime: 2022-01-26 09:45:37
 */

import { FormSchema } from '/@/components/Table';

// 库存输入框
export const formSchemas: FormSchema[] = [
  {
    field: 'name',
    component: 'Input',
    label: '权限名称',
    colProps: {
      span: 24,
    },
    required: true,
    componentProps: {
      placeholder: '请输入菜单名称',
    },
    helpMessage: 'eg:新增、删除、编辑',
  },
  {
    field: 'action_mark',
    component: 'Input',
    label: '权限标识',
    required: true,
    colProps: {
      span: 24,
    },
    helpMessage: 'eg:add,edit,delete',
  },

  {
    field: 'sort',
    component: 'Input',
    label: '排 序',
    colProps: {
      span: 24,
    },
    rules: [{ required: true }],
    defaultValue: 100,
    componentProps: {
      placeholder: '请输入账号',
    },
    helpMessage: '数字越小越靠前',
  },
];
